var xmlDoc=getXmlDoc();

function evt_btn_Query_onclick(){
  getDataViewHtml(document.WorkForm.prg_no);
}

function getDataViewHtml(prg_no){
  xmlDoc.Open("POST",'/SWD/pages/basic/conf_prg_button.jsp',false);
  xmlDoc.setRequestHeader("CONTENT-TYPE","application/x-www-form-urlencoded");
  xmlDoc.send('prgAction=getData&data_kind=getDataViewHtml&prg_no='+prg_no.value);

  document.all.item('divDataView').innerHTML=xmlDoc.responseText;
  document.all.item('txtDataView').value=xmlDoc.responseText;
}

function evt_dataview_btnAddNew_onclick(){
  fc_append_row();
}
